Basic attributes of a process: process ID, parent process ID, process group ID, session, and control terminal.Abstract:This document describes the basic attributes of a process, including process ID, parent process ID, process group ID, session, and
In Python, because of the existence of the global interpreter lock Gil, the multithreading in Python does not significantly improve the efficiency of the program (in this case, CPU-intensive), then in the processing of CPU-intensive computing, multi-
In Python, because of the existence of the global interpreter lock Gil, the multithreading in Python does not significantly improve the efficiency of the program (in this case, CPU-intensive), then in the processing of CPU-intensive computing, multi-
Linux programming, threading, process exit sequence problems are confusing, if the parent process/thread before the child process/thread termination, what the system will do? Conversely, what will the system do if the subprocess/thread terminates
Inherit from parent process
Process Eligibility (live (real)/active (Effective)/saved (saved) user number (UIDs) and group number (Gids))
Environment (environment)
Stack
The memory
opens a descriptor for the file
Document directory
1.1. System
1.2 popen: create a sub-process
1.3 exec Functions
1.4 fork
6.2 memory ing and sub-process:
6.3 copy of file descriptor
1. What is a process: a process is a program in execution
Program: code> resource>
Turn from: http://blog.csdn.net/anxuegang/article/details/6636400
Waitpid system Call "Function Description:Waits for the process to change its state. All of the following calls are used to wait for a change in the state of the child process to
ZZ from:http://www.cnblogs.com/oubo/archive/2011/10/10/2394593.html
Python subprocess Create child processes
Python provides multiple modules for creating child processes, and I am more accustomed to using the subprocess module because there is
Unix_c_05.txt================Lesson Five Process Management================First, the basic concept------------1. Processes and Procedures~~~~~~~~~~~~~1) The process is the running program. A running program,There may be multiple processes. The
The previous two articles discussed how to kill a child process when the process exited unexpectedly, this section we studied under using process pool multiprocessing. Pool, how to ensure that the main process quits unexpectedly, worker processes in
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.